<?php
/**
 * Clase FN para PoRecepcionLineaFN
 *
 * @package    
 * @subpackage PoRecepcionLineaFN
 * @author     hans
 * @version    SVN:: PoRecepcionLineaFN.class.php,v 1.1 2012-03-18 20:31:01 Hans.parra Exp $
 */

require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/common/conexion.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/im/mov/BFN/BasePoRecepcionLineaFN.class.php');
require_once($_SERVER['DOCUMENT_ROOT'].'/gourmet-express/trunk/src/class/im/articulos/FN/ImArticuloFN.class.php');


class PoRecepcionLineaFN extends BasePoRecepcionLineaFN
{

  public function  selectPoRecepcionItemDetalle()
	{
		$o_PoRecepcionLineaFN = $this->select();
		if($o_PoRecepcionLineaFN)
		{
			foreach ($o_PoRecepcionLineaFN as $key => $obj)
			{
				/*detalle de Articulo*/
				$o_ImArticuloFN = new ImArticuloFN();
				$o_ImArticuloFN->setArticuloId($obj->getArtId());
				$obj->set_oDetalleItemBean($o_ImArticuloFN->selectByPK());
			}
		}
		return $o_PoRecepcionLineaFN;
				
	}

}